#ifndef __HTHREADPOOL_QUEUE_QUEUEOBJECT_H__
#define __HTHREADPOOL_QUEUE_QUEUEOBJECT_H__

#include <condition_variable>
#include <mutex>
#include "UtilsObject.h"

HTHREADPOOL_NAMESPACE_BEGIN
    class QueueObject : public UtilsObject
    {
    protected:
        std::mutex              m_mutex;  // 为所有继承者的公共锁
        std::condition_variable m_cv;
    };
HTHREADPOOL_NAMESPACE_END

#endif
